#-------------------------------------------------
#
# Project created by QtCreator 2012-12-30T00:57:25
#
#-------------------------------------------------

QT       += core gui
QT       += network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = EchoServer
TEMPLATE = app


HEADERS  += mainwindow.h \
            .\Crypter.h \
    Universe.h \
    Crypter.h \
    Dream.h \
    tools.h
    Universe.h

SOURCES +=\
        mainwindow.cpp \
        .\Crypter.cpp \
    Universe.cpp \
    entry.cpp \
    Dream.cpp



FORMS    += mainwindow.ui

unix|win32: LIBS += -L$$PWD/../tom/ -ltomcrypt

INCLUDEPATH += $$PWD/../tom
DEPENDPATH += $$PWD/../tom

win32: PRE_TARGETDEPS += $$PWD/../tom/tomcrypt.lib
else:unix: PRE_TARGETDEPS += $$PWD/../tom/libtomcrypt.a

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../json/ -lJsonCPP
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../json/ -lJsonCPPd
else:unix: LIBS += -L$$PWD/../json/ -lJsonCPP

INCLUDEPATH += $$PWD/../json
DEPENDPATH += $$PWD/../json

win32:CONFIG(release, debug|release): PRE_TARGETDEPS += $$PWD/../json/JsonCPP.lib
else:win32:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$PWD/../json/JsonCPPd.lib
else:unix: PRE_TARGETDEPS += $$PWD/../json/libJsonCPP.a
